import 'dart:io';

import 'package:local_auth/local_auth.dart';
import 'package:shimmer/shimmer.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_easyloading/flutter_easyloading.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:go_router/go_router.dart';
import 'package:xim/business/model/user.dart';
import 'package:xim/common/get_style_view.dart';
import 'package:xim/common/style/colors.dart';
import 'package:xim/config/config.dart';
import 'package:xim/config/route_config.dart';
import 'package:xim/http/apis.dart';
import 'package:xim/http/apis/user/user_api.dart';
import 'package:xim/http/apis/user/user_model.dart';
import 'package:xim/http/http.dart';
import 'package:xim/http/store.dart';
import 'package:xim/screen/login_screen/login_page/login_page_controller.dart';
import 'package:xim/screen/login_screen/login_page/login_page_style.dart';
import 'package:xim/screen/main_screen.dart';
import 'package:xim/widget/common/state.dart';

class LoginScreen extends GetStyleControllerView<void, LoginPageController, LoginPageStyle> {

  LoginScreen({super.key});

  @override
  Widget buildView(BuildContext context, void data) {
    return SafeArea(
      top: true,
      child: Scaffold(
        body: Column(
          children: [
            style.logo,
            style.createAccountBox(),
            const SizedBox(height: 12,),
            style.loginBox()
          ],
        ),
      ),
    );
  }

}